SSL SMTP Port 465 closed

We are running OS X Server 5.0.15 on OS X El Capitan 10.11.2


I have already purchased certificate and added in the server.

Following ports are currently open :

25, 993, 143 and 587.


We want to use 465 port instead of 25. But we can not use port no 465 as it is not accessible anywhere.

Do I need to update any setting to enable this port?


Any help will be appreciated.

Mac mini, OS X El Capitan (10.11.1)

Posted on Dec 11, 2015 10:11 PM

Reply
2 replies

Dec 12, 2015 3:44 PM in response to Tattwam

TCP 587 is the ESMTP submission port that Apple Mail.app and most other mail clients use, via STARTTLS.


Getting TCP 465 to work will require manual configuration in Postfix.


The file you'll be editing via the command line is /Library/Server/Mail/Config/postfix/master.cf


Search for 465 there, and read the comments from the folks at Apple.


To make the changes...

sudo serveradmin stop mail

edit the file and save it, and then...

sudo serveradmin start mail


Related: StackOverflow, Krypted

Dec 28, 2015 2:51 AM in response to Tattwam

Tattwam wrote:


Following ports are currently open :

143


If you have a certificate and port 993 (Secure IMAP) working you should close, not use, port 143 insecure IMAP. There are no benefits and your passwords may go out in plain text.


Tattwam wrote:


We want to use 465 port instead of 25.


Why? Assuming you want to use it for client email submission (not incoming email from Internet to your server) and you have port 587 functioning there is no need or benefit.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SSL SMTP Port 465 closed

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.